import cgi
import wsgiref.handlers
import os

from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext import db

class SearchError(webapp.RequestHandler):
     def get(self):
         self.response.out.write('Search error')
    
def main():
    application = webapp.WSGIApplication(
                                       [(r'.*search.*', SearchError)],
                                       debug=True)
    wsgiref.handlers.CGIHandler().run(application)

if __name__ == "__main__":
    main()